{extend name="../public/header" /}
{block name="body"}
<body>
{include file="../public/common" /}
<fieldset class="layui-elem-field site-demo-button" style="padding:10px;">
    <div class="layui-row">
        <div class="layui-col-xs4 layui-col-sm12 layui-col-md12">
			<!--  -->
			<form id="form1" class="layui-form layui-form-pane" action="{:url('')}">
			<div class="layui-tab" lay-filter="test">
				<div class="layui-tab-content">
					<div class="layui-tab-item layui-show">
						<section class="panel panel-padding">
							<div class="layui-form-item">
								<label class="layui-form-label">会员账户</label>
								<div class="layui-input-inline">
									<input type="text" name="username" value="{$info.username|default=''}" placeholder="请输入账户" class="layui-input">
								</div>
								<div class="layui-form-mid layui-word-aux">必填</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">状态</label>
								<div class="layui-input-inline">
									<input type="radio" name="status" {eq name="$info.status" value="1"}checked{/eq} title="正常" value="1" checked />
									<input type="radio" name="status" {eq name="$info.status" value="2"}checked{/eq} title="禁用" value="2"/>
								</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">密码</label>
								<div class="layui-input-inline">
									<input type="password" name="password" placeholder="请输入密码，不修改请留空" class="layui-input ">
								</div>
								<div class="layui-form-mid layui-word-aux">请输入密码(允许大小写字母、数字，长度不低于6位)，不修改请留空。</div>
							</div>
							<div class="layui-form-item">
								<label class="layui-form-label">密码</label>
								<div class="layui-input-inline">
									<input type="password" name="password2" placeholder="重复刚才输入的密码" class="layui-input ">
								</div>
								<div class="layui-form-mid layui-word-aux">重复刚才输入的密码</div>
							</div>
						</section>
					</div>
					<!--  -->
				</div>
			</div>
			<div class="layui-input-block">
				<input type="hidden" name="id" type="hidden" value="{$info.id|default=''}">
				<button class="layui-btn" lay-submit lay-filter="*">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
			</div>
			</form>
			<!--  -->
		</div>
    </div>
</fieldset>
</body>
{/block}
{block name="script"}
<script>
layui.use(['jquery','layajax','form','laydate','upload','element'], function(){
	var $ = layui.jquery
	,layajax = layui.layajax
	,laydate = layui.laydate
	,upload = layui.upload
	,element = layui.element
	,form = layui.form;
	
	form.render();
});
</script>
{/block}